package com.example.lottery.service;

import com.example.lottery.controller.param.UserLogin;
import com.example.lottery.controller.param.UserRegisterParam;
import com.example.lottery.service.dto.UserDTO;
import com.example.lottery.service.dto.UserLoginDTO;
import com.example.lottery.service.dto.UserRegisterDTO;
import com.example.lottery.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {

    UserRegisterDTO register(UserRegisterParam param);

    UserLoginDTO login(UserLogin param);

    List<UserDTO> findBaseUserInfo(UserIdentityEnum identity);
}
